You are here: Statements and Functions > CalMin()
Syntax samples
CALMIN()
The CALMIN() function corresponds to the minute of the calendar date you defined as part of the warm-up period or simulation begin date under simulation options. Since this function ties directly to the 24-hour clock displayed during simulation, CALMIN() will never return a value higher than 59.
Any logic.
Please note
CALMIN() works only when you select calendar date in the simulation options dialog.
Example
Suppose parts have a fixed shipping time of 4:30 pm. The following logic would order parts to the shipping area.
IF CALHOUR() = 16 AND CALMIN() = 30 THEN
ORDER 1 Part TO Shipping_Area
CALDAY(), CALDOM(), CALHOUR(), CALMONTH(), and CALYEAR().